package com.example.mercury.entity;

import java.util.List;

/**
 * @author 盛守义
 * @createTime 2021/11/25 20:19
 * @projectName TurningCoffee
 * @className ShopRecord.java
 * @description TODO
 */
public class ShopRecord {

    private Boolean success;
    private Integer code;
    private String message;
    private DataDTO data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private List<ExchangeListDTO> exchangeList;

        public List<ExchangeListDTO> getExchangeList() {
            return exchangeList;
        }

        public void setExchangeList(List<ExchangeListDTO> exchangeList) {
            this.exchangeList = exchangeList;
        }

        public static class ExchangeListDTO {
            private Integer id;
            private Object goodsId;
            private String goodsName;
            private String goodsImg;
            private Integer goodsBeans;
            private String userId;
            private String createTime;
            private String updateTime;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Object getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(Object goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public Integer getGoodsBeans() {
                return goodsBeans;
            }

            public void setGoodsBeans(Integer goodsBeans) {
                this.goodsBeans = goodsBeans;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }
    }
}

